
<!--正文导航-->
<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8">
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
        <meta content="telephone=no" name="format-detection" /> 
        <meta name="google-site-verification" content="DVVM1p1HEm8vE1wVOQ9UjcKP--pNAsg_pleTU5TkFaM">
        <style>
            body > a:first-child,body > a:first-child img{ width: 0px !important; height: 0px !important; overflow: hidden; position: absolute}
            body{padding-bottom: 0 !important;}
        </style>
        <meta id="viewport" name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">
        <title>课程详情</title>
		<link rel="stylesheet" href="{OSSURL}public/mobile/css/weixin.css?{php echo time()}">
        <link rel="stylesheet" href="{OSSURL}public/mobile/css/reset.css?{php echo time()}">
        <script src="{OSSURL}public/mobile/js/jquery.js?{php echo time()}"></script>

</head>
<body>
    <div id="wrap" class="count_inf">
        <dl id="main">
            <dt class="count_tit">{$item['name']}</dt>
            <dd class="count_inf">
                <div class="teacher">
                    <div style=" background-image:url({php echo tomedia($teacher['thumb']);})"></div>
                    <p>{$teacher['tname']}</p>
                </div>
                <ul>
                    <li><label>日期：</label>{php echo date('Y/m/d',$item['start'])}-{php echo date('Y/m/d',$item['end'])}</li>
                    <li><label>科目：</label>{if !empty($category[$item['bj_id']])}{$category[$item['bj_id']]['sname']}{/if}/{if !empty($category[$item['km_id']])}{$category[$item['km_id']]['sname']}{/if}</li>
                    <li><label>教室：</label>{$item['adrr']}</li>
                </ul>               
                <div style="clear:both"></div>
            </dd>


<!--             <dd class="count_num">
			{if $item['is_hot']==1 && $item['end']>TIMESTAMP}
			    <span>已报{php echo pdo_fetchcolumn("select count(*) FROM ".tablename('wx_school_students')." WHERE bj_id = '".$item['bj_id']."' And schoolid = '".$item['schoolid']."'")}人</span>
                <span value="热报" class="count_hot" style="font-size:12px;"></span>
				<div class="btn_none"><a href="tel:{$school['tel']}">报名</a></div>
            {else}
                <span>已报{php echo pdo_fetchcolumn("select count(*) FROM ".tablename('wx_school_students')." WHERE bj_id = '".$item['bj_id']."' And schoolid = '".$item['schoolid']."'")}人</span>
                <span value="已满" class="count_none" style="font-size:12px;">
                </span>
				<div class="btn_null">报名</div>
            {/if} 
            </dd> -->
        </dl>
        <dl class="count_tips">
            <dt>服务中心</dt>
                            <dd class="count_add"><a href="#" id="map">{$school['address']}</a></dd>
                            <dd class="count_phone"><a href="tel:64611463" class="phone">{$school['tel']}</a></dd>
        </dl>
        <!--dl class="count_eval">
            <dt><a href="javascript:void(0)" id="allPinglun">老师评价<span>(0人评价)</span></a></dt>
        </dl-->
        <dl class="count_outline">
            <dt><a href="{php echo $this->createMobileUrl('kcdg', array('id' => $item['id']), true)}" >课程大纲 <span class="outline_link" id="syllabus">查看详情</span></a></dt>
        </dl>
        <dl class="counts">
            <dt>课程表</dt>
            <div>
			{loop $list $item}
                      <dd class="{if $item['date'] > TIMESTAMP}click{/if}">第<span>{$item['nub']}</span>课<br/>{php echo date('m月d',$item['date'])}</br>{if !empty($category[$item['sd_id']])}{$category[$item['sd_id']]['sname']}{/if}</dd>           
			{/loop}
                                <div style="clear:both"></div>
            </div>
        </dl>
        <!--section class="mask" style="display:none">
            <div class="dialog" id="dialog_fisrt">
                <div class="dialog_close"></div>
                <img src="http://pywx.speiyou.com/static/first/img/mask_bg2.png" alt="">
                <span id="mask_content_g">正在报名中，请稍候....</span>
            </div>
            <div class="dialog" id="dialog_second" style="padding-bottom:20px;display:none">
                <div class="dialog_close"></div>
                <img src="http://pywx.speiyou.com/static/first/img/mask_bg3.jpg" style="width:129px;height:116px;">
                <span style="text-align:center; margin-top:5px;">恭喜您报名成功！</span><br/>
                <a href="/person/getUser" style="display:inline-block; color:#fff; background-color:#fe6700; line-height:30px; width:50%; font-size:16px;margin-top:15px;">去个人中心查看</a>
            </div>
        </section-->
    </div>
	   {php include $this->template('footer');}  
</body>
</html>